//
// Created by lovep on 2025/3/27.
//

#ifndef POLY_H
#define POLY_H

#include <defination.h>

typedef struct PolyNode{
    float coef;
    int expn;
    struct PolyNode *next;
} PolyNode , *PolyNomial;

Status PolyInsert(PolyNomial &L, PolyNode *s);
Status CreatPolynList(PolyNomial &L,int n);
Status PolyAdd(PolyNomial &La, PolyNomial Lb );
void DisplayPoly(PolyNomial L);



#endif
